Setting the slice level in a binary signal

ABSTRACT

A method of setting the slice level (SL) in a binary signal (T) comprises measuring the noise level at both signal levels (A,B) and adjusting (Z) the slice levels in dependence upon the measured noise levels. By weighing the noise levels, asymmetric noise is taken into account. A device ( 10 ) for setting the slice level comprises level shift means and noise peak level detection means.

The present invention relates to a method and device for setting the slice level in a binary signal.

The two signal levels of a binary signal are usually referred to as “high” and “low” and may represent a logical “1” and “0” respectively. The “high” level may correspond to a signal level of, for example, +5V while the “low” level may correspond to a signal level of, for example, −5V or ground. When recovering a transmitted binary signal it has to be decided which signal portions are high and which are low. To this end, a threshold is usually set approximately halfway between the high and the low signal levels. Any signal level exceeding this threshold or “slice level” is considered to represent a high level, other signal levels are categorized as low.

In the presence of noise it is possible that errors are introduced. Noise peaks present in the low level signal portions may exceed the slice level so as to incorrectly cause a high level to be detected. The prior art offers only a partial solution to this problem.

U.S. Pat. No. 4,707,740 discloses a sync detector for recovering a sync signal from a video signal. A slice level signal is adjusted during a low level (“sync tip”) portion of the video signal. To this end, a noise detector provides an output representative of the average noise during this low level signal portion. This noise detector output is used to generate a positive slice level offset during the low level signal portions and a negative offset of the same magnitude during the high level signal portions.

This prior art solution has several disadvantages. The slice level adjustment is discontinuous, thus compounding any detection errors. In addition, the adjustment is based on the noise level in the low level signal portions only. As the noise level increases, the slice level will be pushed up indiscriminately towards the high signal level and may even reach the high signal level, which is clearly undesirable. Moreover, the positive and negative offset of equal magnitude assume a symmetrical noise distribution, that is, the noise peaks in the high level signal and in the low level signal having (on average) the same magnitude. However, there are many applications in which the noise has an asymmetrical distribution, the noise peaks in one signal level having (on average) a different magnitude to those in the other signal level. An example of such an application is optical communication links.

It is therefore an object of the present invention to solve the problems of the prior art and to provide a method for setting the slice level in a binary signal which takes the noise level in both the low level and the high level signal portions into account.

It is another object of the present invention to provide a method for setting the slice level in a binary signal which appropriately deals with asymmetric noise distributions.

It is a further object of the present invention to provide a device for carrying out the method of the present invention, and a receiver provided with such a device.

The invention is defined by the independent claims. The dependent claims define advantageous embodiments.

By measuring the noise level during the second signal portion as well as during the first, it is possible to take both noise levels into account when adjusting the slice level, thus achieving a more balanced adjustment. By applying a continuous slice level adjustment in both the first and the second signal portions, the detrimental effects of any erroneous discontinuous adjustments are avoided.

In a preferred embodiment, the slice level is set at a value substantially equal to half the difference between the magnitudes of the first and the second signal levels minus half the difference between the magnitudes of the first and the second noise levels. That is, the slice level is preferably initially set halfway between the signal levels, the adjustment being equal to half the difference in the noise levels. It will be clear that if the signal levels are equal in magnitude but of opposite signs, their difference will be equal to zero. Similarly, if the noise levels are equal in magnitude, no adjustment will be made. However, if the noise levels are not equal in magnitude (asymmetrical noise), the slice level is adjusted accordingly, resulting in fewer detection errors.

It is preferred that measuring the respective noise levels involves detecting peaks in the binary signal. By using peak detection, a good indication of the noise levels can be easily achieved.

The present invention also provides device for detecting the noise level in a binary signal, comprising a noise peak level detection means for receiving input signals and producing a noise indication signal, characterized in that the noise peak level detection means comprise an RMS level detector for detecting the RMS level of the binary signal, a first differential amplifier for amplifying the difference of the first level of the binary signal and the RMS level to supply a first level compensated noise signal to the first peak detector, a second differential amplifier for amplifying the difference of the second level of the binary signal and the RMS level to produce a second level compensated noise signal to the second peak detector. A noise level detector of this kind has the advantage that it can detect very small noise peaks (smaller than 50 mV) which Prior art noise detectors often fail to detect.

The present invention will be further explained below with reference to exemplary embodiments illustrated in the accompanying drawings, in which:

FIG. 1 schematically shows a binary signal containing symmetrical noise;

FIG. 2 schematically shows a binary signal containing symmetrical noise;

FIG. 3 schematically shows the signal of FIG. 2 in more detail;

FIG. 4 schematically shows a device for setting the slice level according to the present invention;

FIG. 5 schematically shows an embodiment of the device of FIG. 4;

FIG. 6 schematically shows a peak detection arrangement according to the present invention; and

FIG. 7 schematically shows an embodiment of the device of FIG. 6.

The binary signal T shown in FIG. 1 has two signals levels, one representing a logical “1” and another representing a logical “0”. Both signal levels are corrupted by noise to a similar extent. Upon reception of this signal it has to be decided which signal level was transmitted. To this end a threshold or slice level SL is set approximately halfway between the average positive and the average negative signal level, as shown in FIG. 1. The logical value “1” (or signal level “high”) is assigned to those portions of the signal exceeding the slice level SL, while the logical value “0” (or signal level “low”) is assigned to the remaining signal portions. The resulting waveform is shown as a dotted line and is called the detected signal.

Setting the slice level halfway between the average positive and the average negative signal level, which corresponds to signal level “ground” in FIG. 1, minimizes the number of (detection) errors caused by noise peaks crossing the slice level. In this way, the maximum distance between the slice level and the noise peaks is achieved, assuming that the noise peaks of both signal levels have about the same magnitudes. In the signal T of FIG. 2, however, the noise peaks during the high signal periods have a much bigger magnitude than the noise peaks during the low signal periods. In accordance with the present invention, the slice level SL is now adjusted to maintain the maximum distance between the slice level and the noise peaks, resulting in fewer detection errors. As shown in FIG. 2, the slice level SL is in this particular case set at a level lower than ground level G, thus reducing the probability of detection errors due to noise peaks in the high signal portions while maintaining a sufficiently low probability of detection errors during the low signal portions.

The signal T shown in FIG. 3 is a stylized version of the signal of FIG. 2. The signal T has a high (“1”) signal level with a amplitude A and a low (“0”) signal level with an amplitude B. Normally the amplitudes A and B will be equal but of opposite signs relative to a common signal level G (for example ground). The high signal portions have noise peaks with an amplitude X, while the noise peaks during the low signal portions are shown to have a smaller amplitude Y (it will be understood that it is also possible for the low signal level to have the biggest noise peaks).

In accordance with the present invention the slice level SL is set so as to maximize the distance between the slice level and the noise peaks. When the slice level SL is set at the common signal level G, the distance between the noise peaks X and the slice level SL is smaller than the distance between the noise peaks Y and the slice level. As a consequence, there is an unnecessary large probability that a noise peak X will cross the slice level, resulting in a detection error. However, when the slice level SL is set as shown in FIG. 3 to be below the common signal level G by an offset Z, the noise peaks X and Y are at equal distances. In mathematical terms this means that: D=A−X+Z=B−Y−Z from which it follows that: Z=½(B−A)+½(X−Y).

When the signal magnitudes are equal (A=B) it follows that: Z=½(X−Y).

In other words, when the signal magnitudes are equal, the offset Z is equal to half the difference in noise (peak) magnitudes. In the case of symmetrical noise (X=Y) this means that the offset is equal to zero, as before.

A device for setting the slice level in accordance with the present invention is depicted in block diagram form in FIG. 4. The device 10 comprises a first level shifter 11 and a second level shifter 12 which are connected in parallel to input terminals 15 via optional decoupling capacitors 21. The input terminals 15 receive the signal T of FIG. 3 having signal components IN and INQ relative to ground. In the second level shifter 12, a DC level is subtracted from the signal components IN and INQ so as to compensate the difference in noise levels before a peak detection is carried out. The magnitudes of these signal components after this level shift are IN″=IN−Vcon and INQ″=INQ+Vcon respectively. The level shifted signal components are then passed to a peak detection unit 13 which comprises a first peak detector 17, a second peak detector 18 and a differential amplifier 19. The first peak detector 17 detects the peaks in the compensated (high level) signal IN″, while the second peak detector 18 detects the peaks in the corresponding signal INQ″. The output signals of the peak detectors 17, 18 are received by the differential amplifier 19 so as to produce the noise indication signal Vcon which represents the difference in noise peak levels. In preferred embodiments this signal Vcon is filtered using a low-pass filter 14 so as to remove any high frequency noise. It will be clear from the above description that in case of symmetrical noise the signal Vcon will be substantially equal to zero.

The noise indication signal Vcon is passed on to both the first level shifter 11 and the second level shifter 12. In the latter, this signal is used to subtract a DC level from the input signal components IN and INQ as described above, said DC level being equal to Vcon. In the first level shifter 11 the signal Vcon is used to add a DC level equal to Vcon to the input signal components IN and INQ resulting in output signal components IN′ and INQ′ at the output terminals 16 having magnitudes of IN′=IN+Vcon and INQ′=INQ−Vcon respectively. This is the signal T having the offset slice level shown in FIG. 3.

As can be seen, the adjustment of the slice level using the noise indication signal Vcon is continuous. When the noise characteristics change, the slice level is adjusted accordingly. Even a change in the type of noise, e.g. from asymmetrical to symmetrical, is taken into account. The detected signal is not used to set the slice level, thus avoiding the possibility of compounding detection errors.

An advantageous embodiment of the device of FIG. 4 is shown in FIG. 5. The peak detection unit 13 and the low-pass filter 14 can be readily identified. In contrast to FIG. 4, the differential amplifier 19 of FIG. 5 is shown to produce both the signal Vcon and an inverted signal −Vcon, both of which are filtered by the filter 14. The first and second level shifters 11 and 12 are constituted by the transistor pairs T1, T2 and T3, T4 respectively which are all connected to a current source S1. Each transistor pair constitutes a differential amplifier. The signals Vcon and −Vcon cause current to flow through the respective transistors, leading to voltage drops (that is, level shifts) in the corresponding resistors R1, R2, R3 and R4 respectively.

In FIG. 6 a particularly advantageous peak detection unit 13 is shown. Most peak detectors have the disadvantage that they only detect signals exceeding approximately 50 mV, which will obviously leave small noise peaks undetected. The peak detection unit of FIG. 6 solves this problem by detecting the value of the noise relative to the RMS (root mean square) value of the signal in which the noise is present. That is, not the absolute but the relative noise value is detected. To this end, an RMS level detector 22 is provided which outputs the RMS at 25. A first differential amplifier 23 amplifies the difference of the signal component IN and the RMS of the input signal T while a second differential amplifier 24 amplifies the difference of the signal component INQ and the RMS. These amplified differences are then fed to the peak detectors 17 and 18. In this way, even small noise peaks can be detected. The peak detection unit 13 of FIG. 6 can also be used independently of the slice level detection described above.

A particularly advantageous embodiment of the peak detection unit 13 is illustrated in FIG. 7. Transistors T5, T6 in conjunction with resistor R5 and capacitors C5, C6 constitute the RMS level detector 22 of FIG. 6, producing the RMS level value at 25. Differential amplifier K1 and transistor T7 form the amplifier 23 of FIG. 6, while their counterparts K2 and T8 correspond with amplifier 24. Transistor T9 in conjunction with capacitor C7 on the one hand and transistor T10 and capacitor C8 on the other hand constitute peak detectors 17 and 18 respectively, the transistor pair T11, T12 forming the differential amplifier 19. The noise indication signals Vcon, −Vcon (see FIG. 5) appear at terminals 27, 28.

It will be understood by those skilled in the art that many modifications and additions may be made without departing from the scope of the invention as defined in the appending claims. It is remarked that the scope of protection of the invention is not restricted to the embodiments described herein. Neither is the scope of protection of the invention restricted by the reference numerals in the claims. The word ‘comprising’ does not exclude other parts than those mentioned in the claims. The word ‘a(n)’ preceding an element does not exclude a plurality of those elements. Means forming part of the invention may both be implemented in the form of dedicated hardware or in the form of a programmed purpose processor. The invention resides in each new feature or combination of features. 

1. A method of setting a slice level (SL) in a binary signal (T) in presence of noise, the binary signal having a first signal level (A) during a first signal portion and a second signal level (B) during a second signal portion, the method comprising the steps of: setting the slice level (SL) initially at a level intermediate the first (A) and the second (B) signal level, providing a noise indication (Vcon) by measuring a first noise level (X) during the first signal portion, and adjusting the slice level (SL) using the noise indication (Vcon), characterized in that the step of providing a noise indication (Vcon) includes measuring a second noise level (Y) during the second signal portion, and in that the step of adjusting the slice level (SL) includes adjusting the slice level substantially uniformly during both the first and the second signal portions.
 2. A method according to claim 1, wherein the slice level (SL) is set at a value substantially equal to half the difference between the magnitudes of the first (A) and the second (B) signal levels minus half the difference between the magnitudes of the first (X) and the second (Y) noise levels.
 3. A method according to claim 1, wherein measuring the respective noise levels (X,Y) involves detecting peaks in the binary signal (T).
 4. A device (10) for setting the slice level (SL) in a binary signal (T) in presence of noise, characterized by: a first level shift means (11) coupled between a pair of input terminals (15) for receiving the binary signal (T) and a pair of output terminals (16) for supplying the adjusted binary signal, a second level shift means (12) coupled to the pair of input terminals (15), a noise peak level detection means (13) coupled to the second level shift means (12) for receiving shifted input signals and producing a noise indication signal (Vcon) indicative of any difference in noise levels between signal portions having different signal levels (A,B), and an adjustment connection (14) for feeding the noise indication signal (Vcon) to both the first and the second level shift means (11,12) so as to compensate any difference in noise levels.
 5. A device according to claim 4, wherein the noise peak level detection means (13) comprise a first peak detector (17) for detecting peaks in a first signal level (A) of the binary signal (T) and supplying a first peak detection signal, a second peak level detector (18) for detecting peaks in a second signal level (B) of the binary signal (T) and supplying a second peak detection signal, and a differential amplifier for amplifying the difference signal of the first and the second peak detection signal so as to produce the noise indication signal (Vcon).
 6. A device according to claim 4, wherein the adjustment connection (14) comprises a low-pass filter (14) for filtering the noise indication signal (Vcon).
 7. A device according to claim 4, wherein the first signal shifting means (11) and/or the second signal shifting means (12) comprise a series connection of a resistive element (R1; R2; R3; R4), a transistor (T1; T2; T3; T4) and a current source (SI), the bases of the transistors being coupled to receive the noise indication signal (Vcon).
 8. A device according to claim 4, wherein the noise peak level detection means (13) further comprise an RMS level detector (22) for detecting the RMS level of the binary signal (T), a first differential amplifier (23) for amplifying the difference of the first level (A) of the binary signal and the RMS level to supply a first level compensated noise signal to the first peak detector (17), a second differential amplifier (24) for amplifying the difference of the second level (B) of the binary signal and the RMS level to produce a second level compensated noise signal to the second peak detector (18).
 9. A device according to claim 8, wherein the RMS level detector (22) comprises a series connection of a transistor (T5;T6), a resistor (R5) and a capacitor (C5).
 10. A device (10) for detecting the noise level in a binary signal (T), comprising a noise peak level detection means (13) for receiving input signals and producing a noise indication signal (Vcon), characterized in that the noise peak level detection means (13) comprise an RMS level detector (22) for detecting the RMS level of the binary signal (T), a first differential amplifier (23) for amplifying the difference of the first level (A) of the binary signal and the RMS level to supply a first level compensated noise signal to the first peak detector (17), a second differential amplifier (24) for amplifying the difference of the second level (B) of the binary signal and the RMS level to produce a second level compensated noise signal to the second peak detector (18). 